package fr.umlv.ig.model;

import java.awt.Point;

public class Train {
	private final int id;
	private Itinerary itinary;
	private Station currentStation;
	private Point coordinate;
	
	Train(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

	void setItinary(Itinerary itinary) {
		this.itinary = itinary;
	}

	public Itinerary getItinary() {
		return itinary;
	}

	void setCurrentStation(Station currentStation) {
		this.currentStation = currentStation;
	}

	public Station getCurrentStation() {
		return currentStation;
	}

	void setCoordinate(Point coordinate) {
		this.coordinate = coordinate;
	}

	public Point getCoordinate() {
		return coordinate;
	}
}
